Simplify mode-indexed tables in packages
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 8 Mar 2024 17:50:33 +0000 (12:50 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 9 Mar 2024 15:29:32 +0000 (10:29 -0500)
commit41de53d4a1c49ef6c6e8ac4ecb0c10cb1b6e07ce
tree174a05a914b27d36674f3879b455953efae167ca
parentc79a509384d33dab6a964ef9a97cbc9a1f1b5bf7
Simplify mode-indexed tables in packages

Now that we use extra-parents to group alternative major modes,
some tables can be simplified to mention only the group's leader.

* lisp/align.el (align-c++-modes, align-rules-list):
Don't bother listing TS alternatives.
(align-perl-modes): Don't bother listing CPerl alternative.

* lisp/info-look.el (perl-mode): Simplify.

* lisp/cedet/semantic/symref/grep.el (semantic-symref-filepattern-alist):
Don't bother listing TS alternatives.

* lisp/emulation/viper.el (viper-vi-state-mode-list): Don't bother
listing CPerl alternative.

* lisp/progmodes/gud.el (gud-tooltip-activate-mouse-motions-if-enabled):
Take into account the modes hierarchy.
(gud-tooltip-modes): Don't bother listing TS alternatives.

* .dir-locals.el (c-ts-mode): Simplify.
.dir-locals.el
lisp/align.el
lisp/cedet/semantic/symref/grep.el
lisp/emulation/viper.el
lisp/htmlfontify.el
lisp/info-look.el
lisp/progmodes/gud.el
lisp/progmodes/hideshow.el